:root {
    --bg-color: #1a1a1a;
    --text-color: #f0f0f0;
    --gold-color: #d4af37;
    --gold-dim: #c5a059;
    --gold-dark: #8c7335;
    --card-bg: #252525;
    --serif-font: 'Noto Serif JP', serif;
    --sans-font: 'Noto Sans JP', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--sans-font);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.gold-text {
    color: var(--gold-color);
}

.gold-bg {
    background-color: var(--gold-dim);
    color: #111;
}

.container {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--serif-font);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding: 60px 20px 30px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-text-vertical {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-family: var(--serif-font);
    display: flex;
    gap: 1.5rem;
    height: 40vh;
    align-items: flex-start;
}

.hero-text-vertical h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-color);
    letter-spacing: 0.1em;
}

.hero-text-vertical .subtitle {
    font-size: 1.2rem;
    font-weight: 500;
}

.hero-text-vertical .description {
    font-size: 0.9rem;
    color: #bbb;
}

.hero-image {
    width: 100%;
    height: auto;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Problem Section */
.problem-section {
    background: linear-gradient(180deg, #111 0%, #1a1a1a 100%);
    padding-bottom: 2rem;
}

.problem-image {
    width: 100%;
    height: auto;
}

.problem-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.problem-section .section-title {
    color: var(--gold-color);
}

.problem-list {
    list-style: none;
    margin-top: 2rem;
}

.problem-list li {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--gold-color);
    padding: 15px;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
}

.problem-list li i {
    color: var(--gold-color);
    margin-top: 4px;
}

/* Solution Section */
.solution-section {
    background-color: #111;
}

.solution-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 2rem;
}

.solution-item {
    text-align: center;
}

.solution-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid var(--gold-dim);
    margin-bottom: 15px;
}

.solution-item .small {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.solution-item p:not(.small) {
    font-family: var(--serif-font);
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Portfolio Section */
.portfolio-section {
    background-color: var(--bg-color);
}

.section-subtitle {
    text-align: center;
    font-family: var(--serif-font);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.portfolio-items {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.portfolio-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.portfolio-note {
    font-size: 0.85rem;
    color: var(--gold-dim);
    margin-bottom: 15px;
}

.before-after {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.img-box {
    position: relative;
    flex: 1;
}

.img-box .label {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: bold;
}

.img-box img {
    border-radius: 4px;
    border: 1px solid #444;
}

.before-after i {
    color: var(--gold-dim);
    font-size: 1.2rem;
}

.portfolio-caption {
    font-size: 0.9rem;
    font-weight: bold;
}

.manga-card .manga-img {
    border-radius: 4px;
    width: 100%;
}

/* Pricing Highlight Section */
.pricing-highlight {
    background: url('https://images.unsplash.com/photo-1577083552431-6e5fd01988ec?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
    position: relative;
}

.pricing-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 17, 17, 0.85);
    /* Dark overlay */
}

.pricing-highlight .container {
    position: relative;
    z-index: 1;
}

.monitor-badge {
    background: linear-gradient(135deg, var(--gold-color), var(--gold-dark));
    color: #111;
    text-align: center;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    display: inline-block;
    width: 100%;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.pricing-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.price-card {
    background: var(--card-bg);
    border: 1px solid #444;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.card-header {
    background: #333;
    padding: 15px;
    text-align: center;
}

.card-header h3 {
    font-family: var(--serif-font);
    font-size: 1.2rem;
}

.card-body {
    padding: 20px;
    text-align: center;
}

.card-body ul {
    list-style: none;
    margin-bottom: 20px;
    text-align: left;
    display: inline-block;
}

.card-body ul li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    position: relative;
    padding-left: 15px;
}

.card-body ul li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--gold-dim);
}

.price {
    border-top: 1px solid #444;
    padding-top: 15px;
}

.price span {
    font-size: 0.85rem;
    color: #aaa;
}

.price strong {
    font-size: 1.4rem;
    display: block;
    margin-top: 5px;
}

/* Recommended Plan (Plan B) */
.price-card.recommended {
    border: 2px solid var(--gold-color);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-ribbon {
    position: absolute;
    top: 12px;
    right: -30px;
    background: #e74c3c;
    color: #fff;
    padding: 4px 30px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 10;
}

.price-card.recommended .card-body ul {
    font-weight: bold;
}

.price-card.recommended .strike {
    text-decoration: line-through;
}

.price-card.recommended .large-price {
    font-size: 2.2rem;
    line-height: 1;
}

.price-card.recommended .large-price span {
    font-size: 1.2rem;
    color: var(--gold-color);
}

/* Workflow Section */
.workflow-section {
    background-color: #111;
}

.plan-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 2rem;
}

.plan-desc {
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-left: 2px solid var(--gold-dim);
}

.plan-desc h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.plan-desc p {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.check-list {
    list-style: none;
    font-size: 0.9rem;
}

.check-list li {
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.check-list li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: #888;
}

.workflow-notice {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 2rem;
}

.workflow-steps {
    margin-top: 2rem;
}

.step {
    display: flex;
    margin-bottom: 25px;
    position: relative;
}

/* Vertical line connecting steps */
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 35px;
    bottom: -15px;
    width: 2px;
    background: var(--gold-dark);
    z-index: 0;
}

.step-num {
    width: 32px;
    height: 32px;
    background: var(--gold-dim);
    color: #111;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
    z-index: 1;
}

.step-content {
    margin-left: 15px;
    padding-top: 2px;
}

.step-content h4 {
    color: var(--gold-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.step-content p {
    font-size: 0.9rem;
    color: #ccc;
}

/* Profile Section */
.profile-section {
    background-color: var(--bg-color);
    text-align: center;
}

.profile-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.profile-image {
    width: 100%;
    height: 200px;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-text {
    text-align: left;
    font-size: 0.95rem;
    color: #ddd;
}

.profile-text p {
    margin-bottom: 1rem;
}

/* Contact & FAQ Section */
.contact-faq-section {
    background-color: #111;
}

.contact-lead {
    text-align: center;
    font-family: var(--serif-font);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.email-btn {
    display: block;
    background: transparent;
    border: 1px solid var(--gold-dim);
    color: var(--gold-dim);
    text-align: center;
    padding: 15px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0 auto 2rem;
    max-width: 300px;
    transition: all 0.3s;
}

.email-btn:hover {
    background: rgba(197, 160, 89, 0.1);
}

.sns-links {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.sns-links span {
    font-weight: bold;
    color: var(--gold-dim);
}

.sns-links a {
    font-size: 1.8rem;
    color: #fff;
    transition: color 0.3s;
}

.sns-links a:hover {
    color: var(--gold-dim);
}

.faq-title {
    font-family: var(--serif-font);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.faq-item {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.faq-q {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1rem;
}

.faq-q span {
    color: var(--gold-color);
    margin-right: 5px;
}

.faq-a {
    font-size: 0.9rem;
    color: #ccc;
}

.faq-a span {
    color: #888;
    margin-right: 5px;
}

.faq-footer-note {
    font-size: 0.8rem;
    color: #888;
    margin-top: 2rem;
    text-align: center;
}

footer {
    background: #000;
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
    color: #555;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .container {
        padding: 60px 20px;
    }

    .hero-content {
        align-items: center;
        padding-left: 10vw;
    }

    .hero-text-vertical {
        height: 50vh;
    }

    .hero-text-vertical h1 {
        font-size: 3rem;
    }

    .hero-text-vertical .subtitle {
        font-size: 1.5rem;
    }

    .solution-grid {
        flex-direction: row;
    }

    .solution-item {
        flex: 1;
    }

    .portfolio-items {
        flex-direction: row;
    }

    .portfolio-card {
        flex: 1;
    }

    .pricing-cards {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .price-card {
        flex: 1;
        max-width: 33%;
    }

    .plan-details {
        grid-template-columns: repeat(3, 1fr);
    }

    .container-flex {
        display: flex;
        gap: 60px;
    }

    .contact-area,
    .faq-area {
        flex: 1;
    }

    .hero-image {
        height: 60vh;
    }

    .hero-image img {
        height: 100%;
    }

    .problem-image {
        height: 450px;
    }

    .problem-image img {
        height: 100%;
    }
}