@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;600;700&display=swap');

:root {
    --primary-color: #1A237E;
    --primary-dark: #000051;
    --text-color: #333333;
    --bg-color: #FFFFFF;
    --bg-secondary: #F5F5F5;
    --bg-accent: #E8EAF6;
    --border-color: #DDDDDD;
    --white: #FFFFFF;
    --error-color: #d32f2f;
    --success-color: #2e7d32;
    --max-width: 1100px;
}

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s, color 0.3s;
}

a:hover {
    opacity: 0.8;
}

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-gray {
    background-color: var(--bg-secondary);
}

.text-center {
    text-align: center;
}

/* Header */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    /* Optional but good UX */
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.site-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.site-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

/* Active Nav State */
.site-nav a[aria-current="page"] {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.nav-cta a {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    border-bottom: none !important;
}

.nav-cta a[aria-current="page"] {
    background-color: var(--primary-dark);
    color: var(--white);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    padding: 5px;
}

/* Hero Fallback */
.hero {
    background-color: var(--bg-accent);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle gradient + grid/node like pattern */
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    opacity: 0.5;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(var(--primary-color) 1px, transparent 1px),
        linear-gradient(rgba(26, 35, 126, 0.05) 1px, transparent 1px);
    background-size: 30px 30px, 100% 30px;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #555;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    appearance: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    opacity: 1;
}

/* Universal Disclaimer Box - Fixed Requirements */
.universal-disclaimer {
    background-color: #fafafa;
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
}

.disclaimer-box {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #ddd;
    border-left: 5px solid var(--primary-color);
    /* Signifying importance */
    padding: 25px;
    border-radius: 4px;
}

.disclaimer-box h4 {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: #333;
}

.disclaimer-box ul {
    list-style: disc;
    margin-left: 20px;
    line-height: 1.8;
    color: #555;
    font-size: 0.9rem;
}

/* Footer */
.site-footer {
    background-color: var(--bg-secondary);
    padding: 60px 0 20px;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.copyright {
    text-align: center;
    color: #888;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

/* Specific Page Elements */
/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

/* Flow */
.flow-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.step-number {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 60px;
    text-align: center;
}

/* FAQ Accordion */
.accordion-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.accordion-button {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    transition: background-color 0.2s;
}

.accordion-button:hover {
    background-color: #f9f9f9;
}

.accordion-button::after {
    content: '+';
    font-size: 1.5rem;
    line-height: 1;
}

.accordion-button[aria-expanded="true"]::after {
    content: '-';
}

.accordion-panel {
    padding: 0 20px 20px;
    color: #555;
    line-height: 1.8;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    appearance: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(26, 35, 126, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-error {
    border-color: var(--error-color);
    background-color: #fff8f8;
}

.error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
    /* Toggled via JS */
}

.form-feedback {
    display: none;
    padding: 25px;
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    color: var(--success-color);
    border-radius: 4px;
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
}

/* Pricing */
.plan-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 40px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 8px;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
    font-family: 'Noto Serif JP', serif;
}


/* Responsive */
@media (max-width: 768px) {
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .site-nav.active {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .site-nav a {
        display: block;
        padding: 10px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }
}