/* Variables */
:root {
    --navy: #1a365d;
    --navy-light: #2c5282;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --text-main: #333333;
    --text-muted: #666666;
    --accent: #e2e8f0;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Common */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--navy);
    margin: 20px auto 0;
}

/* Buttons */
.btn-cta {
    display: inline-block;
    background-color: var(--navy);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s;
}

.btn-cta:hover {
    background-color: var(--navy-light);
}

.large-btn {
    font-size: 1.2rem;
    padding: 20px 60px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-submit {
    display: block;
    width: 200px;
    margin: 0 auto;
    background-color: var(--navy);
    color: var(--white);
    border: none;
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    color: var(--navy);
    font-weight: bold;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    font-weight: 500;
    color: var(--text-main);
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--navy);
}

.header-btn {
    padding: 10px 25px;
}

/* First View */
.fv {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-light);
    padding-top: 80px;
}

.fv-title {
    font-size: 2.5rem;
    line-height: 1.5;
    margin-bottom: 30px;
    color: var(--navy);
}

.fv-title span {
    color: var(--navy-light);
    border-bottom: 2px solid var(--navy-light);
}

.fv-lead {
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: var(--text-muted);
}

/* Problems */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.problem-card {
    background-color: var(--white);
    border: 1px solid var(--accent);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.problem-solution {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.problem-solution span {
    color: var(--navy);
    font-size: 1.8rem;
}

/* Strengths */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.strength-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.strength-icon {
    font-size: 3rem;
    color: var(--navy);
    font-weight: bold;
    margin-bottom: 20px;
    opacity: 0.2;
}

.strength-card h3 {
    color: var(--navy);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.portfolio-card {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    background-color: var(--white);
}

.portfolio-card:hover {
    transform: translateY(-5px);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.portfolio-card h3 {
    text-align: center;
    padding: 20px;
    font-size: 1.1rem;
    color: var(--navy);
}

/* Pricing */
.pricing-lead {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-card {
    background-color: var(--white);
    max-width: 600px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--accent);
}

.price-label {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--navy);
}

.price-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--navy);
}

.price-value span {
    font-size: 1rem;
    font-weight: normal;
}

.pricing-details {
    margin-top: 30px;
}

.pricing-details li {
    margin-bottom: 15px;
    color: var(--text-muted);
}

/* Flow */
.flow-list {
    max-width: 700px;
    margin: 0 auto;
}

.flow-item {
    display: flex;
    margin-bottom: 30px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--navy);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.flow-step {
    font-weight: bold;
    color: var(--navy);
    width: 100px;
    flex-shrink: 0;
}

.flow-text h3 {
    margin-bottom: 10px;
}

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

.faq-item {
    background-color: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--accent);
}

.faq-q {
    padding: 20px 50px 20px 25px;
    font-weight: bold;
    color: var(--navy);
    cursor: pointer;
    position: relative;
    list-style: none;
    /* Hide default triangle */
    transition: background-color 0.3s;
}

.faq-q:hover {
    background-color: var(--bg-light);
}

.faq-q::-webkit-details-marker {
    display: none;
    /* Hide for Safari */
}

.faq-q::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--navy);
    font-weight: normal;
    transition: transform 0.3s;
}

details[open] .faq-q::after {
    content: '-';
}

.faq-a {
    padding: 0 25px 20px;
    color: var(--text-main);
    line-height: 1.8;
}

.faq-a p {
    margin-bottom: 0;
    padding-top: 15px;
    border-top: 1px dashed #cbd5e0;
}

/* Operator */
.operator-content {
    display: flex;
    gap: 50px;
    align-items: center;
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.operator-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.operator-text h3 {
    color: var(--navy);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Contact */
.contact-lead {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.required {
    background-color: #e53e3e;
    color: white;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #cbd5e0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 2px rgba(26, 54, 93, 0.2);
}

/* Footer */
.footer {
    background-color: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 40px 0;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 25px;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 0.7;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .header-btn {
        display: none;
    }

    .fv-title {
        font-size: min(1.8rem, 4.5vw);
    }

    .section-title {
        font-size: min(1.8rem, 6.5vw);
    }

    .problems-grid,
    .strengths-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .price-value {
        font-size: 2rem;
    }

    .operator-content {
        flex-direction: column;
        text-align: center;
    }

    .operator-img {
        margin: 0 auto;
    }
}