@charset "utf-8";

.top-page .hero-section,
.top-page .about_company,
.top-page .itemlist,
.top-page .topinfo {
    background: #fffaf0;
    background-image: none;
    max-width: 1200px;
    width: 90%;
    margin: 50px auto;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
    overflow: visible;
}

.top-page .hero-section::before,
.top-page .about_company::before,
.top-page .itemlist::before,
.top-page .topinfo::before {
    content: none;
}

.top-page .itemlist > *,
.top-page .about_company > * {
    position: relative;
    z-index: 2;
}

.top-page .mainvisual {
    border-radius: 0;
    box-shadow: none;
    max-height: 520px;
    margin: 0;
}

.top-page .mainvisual img,
.top-page .mv_pc {
    max-height: 520px;
    object-fit: cover;
}

.top-page .hero-section {
    text-align: center;
    margin-top: 24px;
    padding: 40px;
}

.top-page .hero-section .inner {
    padding: 0;
}

.top-page .hero-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    width: 100%;
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-4xl);
    font-weight: 600;
}

.top-page .hero-title::before,
.top-page .hero-title::after {
    content: '';
    display: block;
    position: static;
    bottom: auto;
    left: auto;
    transform: none;
    width: 50px;
    height: 2px;
    flex-shrink: 0;
    background: var(--accent-color);
    border-radius: 0;
}

.top-page .hero-subtitle {
    font-size: 20px;
    color: #006400;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
}

.top-page .hero-cta {
    gap: var(--spacing-md);
}

.top-page .cta-button {
    border-radius: 10px;
    overflow: visible;
    padding: 10px 30px;
    font-size: 14px;
    letter-spacing: 0.04em;
}

.top-page .cta-button::before {
    content: none;
}

.top-page .cta-button.primary {
    background: #d86e05;
    border-color: #d86e05;
    box-shadow: none;
}

.top-page .cta-button.primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: none;
    box-shadow: none;
    opacity: 0.9;
}

.top-page .cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    backdrop-filter: none;
}

.top-page .cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: none;
    box-shadow: none;
}

.top-page .maintitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    width: 100%;
    margin-bottom: var(--spacing-2xl);
}

.top-page .maintitle::before,
.top-page .maintitle::after {
    content: '';
    position: static;
    display: block;
    width: 50px;
    height: 2px;
    flex-shrink: 0;
    background: var(--accent-color);
    transform: none;
    top: auto;
    left: auto;
    right: auto;
}

.top-page .about_company {
    background: var(--bg-primary);
    text-align: center;
}

.top-page .about_inner {
    padding: 0;
}

.top-page .company_content {
    grid-template-columns: minmax(240px, 1fr) 1.35fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.top-page .company_img {
    max-width: none;
}

.top-page .company_img img {
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
}

.top-page .company_intro {
    font-size: var(--font-size-base);
    color: var(--text-primary);
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.top-page .company_features {
    margin: var(--spacing-lg) 0;
}

.top-page .feature-card {
    background: #fffaf0;
    border-radius: 0;
    padding: 0.85rem 1rem;
    margin-bottom: 0.6rem;
    border: 1px solid #ddd;
    border-left: 3px solid var(--accent-color);
    gap: 0;
}

.top-page .feature-card:last-child {
    margin-bottom: 0;
    border-bottom: 1px solid #ddd;
}

.top-page .feature-card:hover {
    transform: none;
    box-shadow: none;
}

.top-page .feature-content h4 {
    margin-bottom: 0.15rem;
}

.top-page .about {
    border-radius: 0;
    box-shadow: none;
    border: none;
    margin: 50px 0;
    padding: var(--spacing-4xl) var(--spacing-2xl);
}

.top-page .about::before {
    backdrop-filter: none;
    background: rgba(255, 250, 240, 0.88);
    border-radius: 0;
}

.top-page .about-content {
    max-width: 960px;
    margin: 0 auto;
}

.top-page .about-text p {
    font-size: 20px;
    color: #006400;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.top-page .about-features {
    margin-top: var(--spacing-xl);
    gap: var(--spacing-md);
}

.top-page .feature-item {
    background: #fffaf0;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: var(--spacing-lg) var(--spacing-md);
    box-shadow: none;
}

.top-page .feature-item:hover {
    transform: none;
    box-shadow: none;
}

.top-page .feature-item h3 {
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-lg);
}

.top-page .feature-item p {
    margin-bottom: 0;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.top-page .item {
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    padding: var(--spacing-lg);
    background: var(--bg-primary);
    backdrop-filter: none;
}

.top-page .item::before {
    content: '';
    border-radius: 10px 10px 0 0;
    background: var(--accent-color);
}

.top-page .item::after {
    content: none;
}

.top-page .item:hover,
.top-page .itemlist .item:hover,
.top-page .recipelist .item:hover {
    transform: none;
    box-shadow: var(--shadow-soft);
    border-color: var(--border-color);
    background: var(--bg-primary);
}

.top-page .itemlist .item,
.top-page .recipelist .item {
    background: var(--bg-primary);
    backdrop-filter: none;
    box-shadow: var(--shadow-soft);
}

.top-page .item_img {
    border-radius: var(--radius-md);
}

.top-page .item_img:hover {
    transform: none;
    box-shadow: none;
    opacity: 0.85;
}

.top-page .detail_btn:hover {
    transform: none;
    box-shadow: none;
    opacity: 0.85;
}

.top-page .recipe_name {
    display: inline-block;
    font-size: var(--font-size-base);
    font-weight: 500;
    color: #000;
    border-bottom: double 5px #ffc778;
    padding-bottom: 4px;
    margin-top: var(--spacing-md);
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.top-page .recipelist {
    border-radius: 0;
    box-shadow: none;
    border: none;
    margin: 50px 0;
    padding: var(--spacing-4xl) var(--spacing-2xl);
}

.top-page .recipelist::before {
    backdrop-filter: none;
    background: rgba(255, 250, 240, 0.88);
    border-radius: 0;
}

.top-page .itemlist .title,
.top-page .recipelist .title {
    text-shadow: none;
}

.top-page .topinfo {
    margin-top: 50px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    padding: 32px 40px;
}

.top-page .infoitem {
    padding: 0;
    max-width: 720px;
    margin: 0 auto;
}

.top-page .add {
    align-items: baseline;
    gap: var(--spacing-lg);
    padding: 0.85rem 0;
    border-bottom: 1px solid #c7c8c9;
    text-align: left;
}

.top-page .date {
    margin-right: 0;
    flex-shrink: 0;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.top-page .add > p {
    text-align: left;
    color: var(--text-primary);
}

@media (max-width: 992px) {
    .top-page .company_content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .top-page .company_img {
        max-width: 400px;
    }

    .top-page .company_text {
        text-align: center;
    }

    .top-page .feature-card {
        text-align: left;
    }
}

@media (max-width: 900px) {
    .top-page .hero-section,
    .top-page .about_company,
    .top-page .itemlist,
    .top-page .topinfo {
        width: 92%;
        padding: 32px 20px;
        margin: 32px auto;
    }

    .top-page .hero-section {
        margin-top: 20px;
        padding: 32px 20px;
    }

    .top-page .topinfo {
        padding: 24px 20px;
    }

    .top-page .cta-button {
        max-width: 300px;
    }

    .top-page .about,
    .top-page .recipelist {
        margin: 32px 0;
        padding: var(--spacing-3xl) var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .top-page .hero-title,
    .top-page .maintitle {
        gap: 0.75rem;
    }

    .top-page .hero-title::before,
    .top-page .hero-title::after,
    .top-page .maintitle::before,
    .top-page .maintitle::after {
        width: 28px;
    }
}

@media (max-width: 599px) {
    .top-page .mainvisual,
    .top-page .mainvisual img,
    .top-page .mv_pc {
        max-height: 280px;
    }

    .top-page .hero-section,
    .top-page .about_company,
    .top-page .itemlist,
    .top-page .topinfo {
        width: 94%;
        padding: 28px 16px;
        margin: 24px auto;
    }

    .top-page .hero-section {
        margin-top: 16px;
    }

    .top-page .topinfo {
        padding: 20px 16px;
    }

    .top-page .hero-title {
        font-size: var(--font-size-3xl);
    }

    .top-page .hero-subtitle,
    .top-page .about-text p {
        font-size: var(--font-size-lg);
    }

    .top-page .about,
    .top-page .recipelist {
        margin: 24px 0;
        padding: var(--spacing-2xl) var(--spacing-md);
    }

    .top-page .feature-card {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }

    .top-page .feature-card:hover {
        transform: none;
    }

    .top-page .add {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
}
